package com;

import com.module.Person;

import java.util.ArrayList;
import java.util.List;

public class ckApplicationMain {

	public static void main(String[] args) {
		Person ming = new Person("胡歌",18);
		Person hong = new Person("孙悟空",500);
		ming.setName("曹坤");
		ming.setAge(18);
		System.out.println(ming);
		List<Person> list = new ArrayList<>();
		list.add(ming);
		list.add(hong);
		System.out.println(list);
	}

}
